<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>Full Layout - jQuery EasyUI Demo</title>
	<link rel="stylesheet" type="text/css" href="static/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="static/themes/icon.css">
	<link rel="stylesheet" type="text/css" href="static/main.css">
	<script type="text/javascript" src="static/jquery.min.js"></script>
	<script type="text/javascript" src="static/jquery.easyui.min.js"></script>
</head>
<body class="easyui-layout">
	<div data-options="region:'north',border:false" style="height:60px;background:url('static/images/bg_top_banner.png') no-repeat;padding:0px;">
	<div >
		<h2>欢迎进入集呈科技OMS管理系统</h2>
		<span style="float: right; "><span id="_index_wms_time"></span>
	</div>
		
		
		
	</div>
	<div data-options="region:'west',split:true,title:'系统菜单'" style="width:200px;padding:10px;">west content</div>
	<div data-options="region:'south',border:false" style="height: 25px; background: #D2E0F2; text-align:center;">
		 集呈科技 版权所有
	</div>
	<div data-options="region:'center',title:'工作区'"></div>
</body>

<script type="text/javascript">

$(function() {	
	function _fmtDate(_this,fmt) {  
	    var o = {           
	    "M+" : _this.getMonth()+1, //月份           
	    "d+" : _this.getDate(), //日           
	    "h+" : _this.getHours()%12 == 0 ? 12 : _this.getHours()%12, //小时           
	    "H+" : _this.getHours(), //小时           
	    "m+" : _this.getMinutes(), //分           
	    "s+" : _this.getSeconds(), //秒           
	    "q+" : Math.floor((_this.getMonth()+3)/3), //季度           
	    "S" : _this.getMilliseconds() //毫秒           
	    };           
	    var week = {"0" : "日","1" : "一","2" : "二","3" : "三","4" : "四","5" : "五","6" : "六"};
	    if(/(y+)/.test(fmt)){           
	        fmt=fmt.replace(RegExp.$1, (_this.getFullYear()+"").substr(4 - RegExp.$1.length));           
	    }           
	    if(/(E+)/.test(fmt)){
	        fmt=fmt.replace(RegExp.$1, ((RegExp.$1.length>1) ? (RegExp.$1.length>2 ? "星期" : "周") : "")+week[_this.getDay()+""]);           
	    }
	    for(var k in o){
	        if(new RegExp("("+ k +")").test(fmt)){           
	            fmt = fmt.replace(RegExp.$1, (RegExp.$1.length==1) ? (o[k]) : (("00"+ o[k]).substr((""+ o[k]).length)));           
	        }
	    }
	    return fmt;
	}
	
	$('#_index_wms_time').html(_fmtDate(new Date(),"yyyy年MM月dd日 EEE HH:mm:ss"));setInterval(function(){$('#_index_wms_time').html(_fmtDate(new Date(),"yyyy年MM月dd日 EEE HH:mm:ss"));}, 1000);
});
</script>
</html>